package org.comanche.snaf.core.handler;

import org.comanche.snaf.core.session.IoSession;

/**
 * 
 * @author joe_zhou
 *
 */
public interface SessionHandler {
	/**
	 * 
	 * @param session
	 * @throws Exception
	 */
	public void sessionCreate(IoSession session) throws Exception;
	/**
	 * 
	 * @param session
	 * @throws Exception
	 */
	public void sessionClose(IoSession session) throws Exception;
	/**
	 * 
	 * @param session
	 * @throws Exception
	 */
	public void messageRecvied(IoSession session) throws Exception;
	/**
	 * 
	 */
	public void messageSend(IoSession session) throws Exception;
}
